package com.caocaog.market.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.caocaog.market.entity.Customer;
import com.caocaog.market.mapper.CustomerMapper;
import com.caocaog.market.service.CustomerService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 客户
 *
 * @author jeecg-boot
 * @date 2022-03-09
 */
@Service
@Transactional
public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer> implements CustomerService {

    @Override
    public IPage<Customer> queryPage(Page<Customer> page, Customer customer) {
        IPage<Customer> customerIPage = super.baseMapper.queryPage(page, customer);
        return customerIPage;
    }

}
